package com.chuangshi.core.vote.member.controller.admin.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 会员管理端V1获取单条的接收参数
 *
 * @author marcus
 * @date 2018-11-20
 */
@ApiModel(description = "会员管理端V1获取单条的接收参数")
public class MemberAdminV1FindRequest extends Request {

    @ApiModelProperty(value = "会员编号", required = true, position = 10)
    @NotNull(message = "会员编号不能为空")
    @Length(max = 32, message = "会员编号长度超出限制")
    private String memberId;

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

}